package com.cloud.xtools.common.util;

import cn.hutool.json.JSONUtil;
import org.springframework.stereotype.Component;

@Component
public class Dump {
    public static void json(Object object){
        System.out.println(JSONUtil.toJsonPrettyStr(object));
    }

    public static void string(Object object){
        System.out.println(object.toString());
    }
}
